From: Timo Tijhof Date: Thu, 4 Aug 2016 22:45:39 +0000 (-0700) Subject: resourceloader: Add missing @private and @protected to mw.loader methods X-Git-Tag: 1.31.0-rc.0~6163^2 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=46719f112c0d17c8768ab02109fb0f9013008b5f;p=lhc%2Fweb%2Fwiklou.git resourceloader: Add missing @private and @protected to mw.loader methods Several local functions were indexed by JSDuck as mw.loader methods whereas they are in fact they don't even exist on that object. Mark them as @private. Also add @protected on the internal methods 'work()' and 'require()', which are public but not for general use (and may change without warning). Change-Id: If521cc5ae4a565a46161890cf32e95a8c7f4ca50 --- diff --git a/resources/src/mediawiki/mediawiki.js b/resources/src/mediawiki/mediawiki.js index 3600000a70..ef4f6df12e 100644 --- a/resources/src/mediawiki/mediawiki.js +++ b/resources/src/mediawiki/mediawiki.js @@ -903,6 +903,7 @@ * The CSS will be appended to an existing ResourceLoader-created `